﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="showsales.aspx.cs" Inherits="showsales" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>销售报表</title>
    <link href="css/bootstrap.min.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <div class="container-fluid">
        <div class="row-fluid text-center">
            <div class="span12">
                <table class="table table-hover table-condensed">
                    <tr>
                        <th align="center">
                            查询条件
                        </th>
                        <th colspan="8">
                            <span id="msg" style="display: none; color: Red;"></span>
                        </th>
                    </tr>
                    <tr>
                        <td>
                            <label for="startDate">
                                开始日期</label>
                        </td>
                        <td>
                            <input type="text" id="startDate" name="startDate" class="input-medium text-center" />
                        </td>
                        <td>
                            <label for="endDate">
                                结束日期
                            </label>
                        </td>
                        <td>
                            <input type="text" name="endDate" id="endDate" class="input-medium text-center" />
                        </td>
                        <td>
                            <label for="deportName">
                                店铺(可选项)</label>
                        </td>
                        <td>
                            <%--<select class="dropdown" id="deportName" multiple="multiple">
                                <option value="0" selected="selected">请选择店铺...</option>
                            </select>--%>
                            <input type="text" class="input-medium" id="deportName"/>
                        </td>
                        <td>
                            <input type="button" class="btn btn-primary" value="查询" id="search"/>
                        </td>
                        <td>
                            <input type="button" class="btn btn-primary" value="导出Excel" id="masterExcel"/>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
        <div class="row-fluid text-center" id="salemaster" style="width: 5000px; overflow: auto;">
        </div>
    </div>
    <div id="mydetail" class="modal hide fade" style="width:900px;" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
        aria-hidden="true">
        <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                ×</button>
            <h3 id="myModalLabel">
                销售明细</h3>
        </div>
        <div class="modal-body">
            <table class="table table-condensed table-hover table-striped",id="dtable">
                <thead>
                    <tr>
                        <th>
                            &nbsp;
                        </th>
                        <th>
                            &nbsp;
                        </th>
                        <th>
                            店铺名称
                        </th>
                        <th>
                            <span id="deportN" style="color: #7fb80e"></span>
                        </th>
                        <th>
                            日期
                        </th>
                        <th>
                            <span id="dmonth" style="color: #7fb80e"></span>
                        </th>
                        <th>
                            &nbsp;
                        </th>
                        <th>
                            <input type="button" class="btn btn-primary" value="导出Excel" id="detailExcel" />
                            
                        </th>
                    </tr>
                    <tr>
                        <th>
                            序号
                        </th>
                        <th>
                            销售日期
                        </th>
                        <th>
                            款号
                        </th>
                        <th>
                            数量
                        </th>
                        <th>
                            销售单价
                        </th>
                        <th>
                            数据来源
                        </th>
                        <th>
                            录入时间
                        </th>
                        <th>
                            备注
                        </th>
                    </tr>
                </thead>
                <tbody id="dtbody">
                </tbody>
            </table>
        </div>
    </div>
</body>
<script src="js/jquery-1.8.1.min.js" type="text/javascript"></script>
<%--<script src="layer/layer.min.js" type="text/javascript"></script>--%>

<script src="js/bootstrap.min.js" type="text/javascript"></script>
<script src="js/jcookie.js" type="text/javascript"></script>
<script src="js/freezetable.js" type="text/javascript"></script>
<script src="js/showsales.js" type="text/javascript"></script>
</html>

